package org.example;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Copyright (c) 2023-2033 All Rights Reserved
 *
 * @date: $DATE
 */
public class Main {
    public static void main(String[] args) {
        System.out.println("Hello world!");

        ExecutorService executorService = Executors.newFixedThreadPool(1);
        executorService.execute(() -> {
            try {
                int i = 1/0;
            }catch (Exception e) {
                System.out.println(e.getMessage());
            }
        });

        int[] arr = new int[5];
        System.out.println(arr[3]);
    }
}